package com.feng.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色和部门关联表
 * </p>
 *
 * @author feng
 * @since 2023-03-22 23:24:46
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_role_dept")
@ApiModel(value = "RoleDept对象", description = "角色和部门关联表")
public class RoleDept {

    @ApiModelProperty("角色ID")
    @TableId(value = "role_id", type = IdType.ASSIGN_ID)
    private Long roleId;

    @ApiModelProperty("部门ID")
//    @TableId(value = "dept_id", type = IdType.ASSIGN_ID)
    private Long deptId;


}
